package xin.codedream.codelog.model.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 日志信息
 *
 * @author NGLSL
 * @date 2018/8/5
 */
@Getter
@Setter
@ToString
public class Logs {

    /**
     * 日志ID
     */
    private Long logId;
    /**
     * 日志标题
     */
    private String logTitle;
    /**
     * 日志内容
     */
    private String logContent;
    /**
     * 操作ip
     */
    private String logIp;
    /**
     * 创建时间
     */
    private Date createTime;

    public Logs() {
        super();
    }

    public Logs(String logTitle, String logContent, String logIp) {
        this.logTitle = logTitle;
        this.logContent = logContent;
        this.logIp = logIp;
    }
}
